<html>
	<head>
    	<meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
    </head>
    <body>
		<?php
			$try = 100;
			$one = 0;
			$two = 0;
			$three = 0;
			$four = 0;
			$five = 0;
			$six = 0;
			for($x=1;$x<=$try;$x++){
				$random = rand(1,6);
				if($random == 1){
					$one++;
				}
				elseif($random == 2){
					$two++;
				}
				elseif($random == 3){
					$three++;
				}
				elseif($random == 4){
					$four++;
				}
				elseif($random == 5){
					$five++;
				}
				elseif($random == 6){
					$six++;
				}
			}
			echo "<table border=1><tr><th>øjne</th><th>antal</th>";
			echo "<tr><td>1</td><td>$one</td>";
			echo "<tr><td>2</td><td>$two</td>";
			echo "<tr><td>3</td><td>$three</td>";
			echo "<tr><td>4</td><td>$four</td>";
			echo "<tr><td>5</td><td>$five</td>";
			echo "<tr><td>6</td><td>$six</td>";
        ?>
        <footer>&copy; Frederik Mattern</footer>
	</body>
</html>